package com.ruge._01_annotationandconfiguration;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @SpringBootApplication(scanBasePackages = "com.ruge")
 * 等价于
 * @SpringBootApplication +
 * @ComponentScan("com.ruge")
 */
@SpringBootApplication(scanBasePackages = "com.ruge")
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class, args);
    }

}
